package com.zlt.bkparking.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;
public class CouponExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public CouponExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andCIdIsNull() {
            addCriterion("c_id is null");
            return (Criteria) this;
        }

        public Criteria andCIdIsNotNull() {
            addCriterion("c_id is not null");
            return (Criteria) this;
        }

        public Criteria andCIdEqualTo(Long value) {
            addCriterion("c_id =", value, "cId");
            return (Criteria) this;
        }

        public Criteria andCIdNotEqualTo(Long value) {
            addCriterion("c_id <>", value, "cId");
            return (Criteria) this;
        }

        public Criteria andCIdGreaterThan(Long value) {
            addCriterion("c_id >", value, "cId");
            return (Criteria) this;
        }

        public Criteria andCIdGreaterThanOrEqualTo(Long value) {
            addCriterion("c_id >=", value, "cId");
            return (Criteria) this;
        }

        public Criteria andCIdLessThan(Long value) {
            addCriterion("c_id <", value, "cId");
            return (Criteria) this;
        }

        public Criteria andCIdLessThanOrEqualTo(Long value) {
            addCriterion("c_id <=", value, "cId");
            return (Criteria) this;
        }

        public Criteria andCIdIn(List<Long> values) {
            addCriterion("c_id in", values, "cId");
            return (Criteria) this;
        }

        public Criteria andCIdNotIn(List<Long> values) {
            addCriterion("c_id not in", values, "cId");
            return (Criteria) this;
        }

        public Criteria andCIdBetween(Long value1, Long value2) {
            addCriterion("c_id between", value1, value2, "cId");
            return (Criteria) this;
        }

        public Criteria andCIdNotBetween(Long value1, Long value2) {
            addCriterion("c_id not between", value1, value2, "cId");
            return (Criteria) this;
        }

        public Criteria andCNameIsNull() {
            addCriterion("c_name is null");
            return (Criteria) this;
        }

        public Criteria andCNameIsNotNull() {
            addCriterion("c_name is not null");
            return (Criteria) this;
        }

        public Criteria andCNameEqualTo(String value) {
            addCriterion("c_name =", value, "cName");
            return (Criteria) this;
        }

        public Criteria andCNameNotEqualTo(String value) {
            addCriterion("c_name <>", value, "cName");
            return (Criteria) this;
        }

        public Criteria andCNameGreaterThan(String value) {
            addCriterion("c_name >", value, "cName");
            return (Criteria) this;
        }

        public Criteria andCNameGreaterThanOrEqualTo(String value) {
            addCriterion("c_name >=", value, "cName");
            return (Criteria) this;
        }

        public Criteria andCNameLessThan(String value) {
            addCriterion("c_name <", value, "cName");
            return (Criteria) this;
        }

        public Criteria andCNameLessThanOrEqualTo(String value) {
            addCriterion("c_name <=", value, "cName");
            return (Criteria) this;
        }

        public Criteria andCNameLike(String value) {
            addCriterion("c_name like", value, "cName");
            return (Criteria) this;
        }

        public Criteria andCNameNotLike(String value) {
            addCriterion("c_name not like", value, "cName");
            return (Criteria) this;
        }

        public Criteria andCNameIn(List<String> values) {
            addCriterion("c_name in", values, "cName");
            return (Criteria) this;
        }

        public Criteria andCNameNotIn(List<String> values) {
            addCriterion("c_name not in", values, "cName");
            return (Criteria) this;
        }

        public Criteria andCNameBetween(String value1, String value2) {
            addCriterion("c_name between", value1, value2, "cName");
            return (Criteria) this;
        }

        public Criteria andCNameNotBetween(String value1, String value2) {
            addCriterion("c_name not between", value1, value2, "cName");
            return (Criteria) this;
        }

        public Criteria andCDescIsNull() {
            addCriterion("c_desc is null");
            return (Criteria) this;
        }

        public Criteria andCDescIsNotNull() {
            addCriterion("c_desc is not null");
            return (Criteria) this;
        }

        public Criteria andCDescEqualTo(String value) {
            addCriterion("c_desc =", value, "cDesc");
            return (Criteria) this;
        }

        public Criteria andCDescNotEqualTo(String value) {
            addCriterion("c_desc <>", value, "cDesc");
            return (Criteria) this;
        }

        public Criteria andCDescGreaterThan(String value) {
            addCriterion("c_desc >", value, "cDesc");
            return (Criteria) this;
        }

        public Criteria andCDescGreaterThanOrEqualTo(String value) {
            addCriterion("c_desc >=", value, "cDesc");
            return (Criteria) this;
        }

        public Criteria andCDescLessThan(String value) {
            addCriterion("c_desc <", value, "cDesc");
            return (Criteria) this;
        }

        public Criteria andCDescLessThanOrEqualTo(String value) {
            addCriterion("c_desc <=", value, "cDesc");
            return (Criteria) this;
        }

        public Criteria andCDescLike(String value) {
            addCriterion("c_desc like", value, "cDesc");
            return (Criteria) this;
        }

        public Criteria andCDescNotLike(String value) {
            addCriterion("c_desc not like", value, "cDesc");
            return (Criteria) this;
        }

        public Criteria andCDescIn(List<String> values) {
            addCriterion("c_desc in", values, "cDesc");
            return (Criteria) this;
        }

        public Criteria andCDescNotIn(List<String> values) {
            addCriterion("c_desc not in", values, "cDesc");
            return (Criteria) this;
        }

        public Criteria andCDescBetween(String value1, String value2) {
            addCriterion("c_desc between", value1, value2, "cDesc");
            return (Criteria) this;
        }

        public Criteria andCDescNotBetween(String value1, String value2) {
            addCriterion("c_desc not between", value1, value2, "cDesc");
            return (Criteria) this;
        }

        public Criteria andCTotalIsNull() {
            addCriterion("c_total is null");
            return (Criteria) this;
        }

        public Criteria andCTotalIsNotNull() {
            addCriterion("c_total is not null");
            return (Criteria) this;
        }

        public Criteria andCTotalEqualTo(Integer value) {
            addCriterion("c_total =", value, "cTotal");
            return (Criteria) this;
        }

        public Criteria andCTotalNotEqualTo(Integer value) {
            addCriterion("c_total <>", value, "cTotal");
            return (Criteria) this;
        }

        public Criteria andCTotalGreaterThan(Integer value) {
            addCriterion("c_total >", value, "cTotal");
            return (Criteria) this;
        }

        public Criteria andCTotalGreaterThanOrEqualTo(Integer value) {
            addCriterion("c_total >=", value, "cTotal");
            return (Criteria) this;
        }

        public Criteria andCTotalLessThan(Integer value) {
            addCriterion("c_total <", value, "cTotal");
            return (Criteria) this;
        }

        public Criteria andCTotalLessThanOrEqualTo(Integer value) {
            addCriterion("c_total <=", value, "cTotal");
            return (Criteria) this;
        }

        public Criteria andCTotalIn(List<Integer> values) {
            addCriterion("c_total in", values, "cTotal");
            return (Criteria) this;
        }

        public Criteria andCTotalNotIn(List<Integer> values) {
            addCriterion("c_total not in", values, "cTotal");
            return (Criteria) this;
        }

        public Criteria andCTotalBetween(Integer value1, Integer value2) {
            addCriterion("c_total between", value1, value2, "cTotal");
            return (Criteria) this;
        }

        public Criteria andCTotalNotBetween(Integer value1, Integer value2) {
            addCriterion("c_total not between", value1, value2, "cTotal");
            return (Criteria) this;
        }

        public Criteria andCDiscountIsNull() {
            addCriterion("c_discount is null");
            return (Criteria) this;
        }

        public Criteria andCDiscountIsNotNull() {
            addCriterion("c_discount is not null");
            return (Criteria) this;
        }

        public Criteria andCDiscountEqualTo(Integer value) {
            addCriterion("c_discount =", value, "cDiscount");
            return (Criteria) this;
        }

        public Criteria andCDiscountNotEqualTo(Integer value) {
            addCriterion("c_discount <>", value, "cDiscount");
            return (Criteria) this;
        }

        public Criteria andCDiscountGreaterThan(Integer value) {
            addCriterion("c_discount >", value, "cDiscount");
            return (Criteria) this;
        }

        public Criteria andCDiscountGreaterThanOrEqualTo(Integer value) {
            addCriterion("c_discount >=", value, "cDiscount");
            return (Criteria) this;
        }

        public Criteria andCDiscountLessThan(Integer value) {
            addCriterion("c_discount <", value, "cDiscount");
            return (Criteria) this;
        }

        public Criteria andCDiscountLessThanOrEqualTo(Integer value) {
            addCriterion("c_discount <=", value, "cDiscount");
            return (Criteria) this;
        }

        public Criteria andCDiscountIn(List<Integer> values) {
            addCriterion("c_discount in", values, "cDiscount");
            return (Criteria) this;
        }

        public Criteria andCDiscountNotIn(List<Integer> values) {
            addCriterion("c_discount not in", values, "cDiscount");
            return (Criteria) this;
        }

        public Criteria andCDiscountBetween(Integer value1, Integer value2) {
            addCriterion("c_discount between", value1, value2, "cDiscount");
            return (Criteria) this;
        }

        public Criteria andCDiscountNotBetween(Integer value1, Integer value2) {
            addCriterion("c_discount not between", value1, value2, "cDiscount");
            return (Criteria) this;
        }

        public Criteria andCMinIsNull() {
            addCriterion("c_min is null");
            return (Criteria) this;
        }

        public Criteria andCMinIsNotNull() {
            addCriterion("c_min is not null");
            return (Criteria) this;
        }

        public Criteria andCMinEqualTo(Integer value) {
            addCriterion("c_min =", value, "cMin");
            return (Criteria) this;
        }

        public Criteria andCMinNotEqualTo(Integer value) {
            addCriterion("c_min <>", value, "cMin");
            return (Criteria) this;
        }

        public Criteria andCMinGreaterThan(Integer value) {
            addCriterion("c_min >", value, "cMin");
            return (Criteria) this;
        }

        public Criteria andCMinGreaterThanOrEqualTo(Integer value) {
            addCriterion("c_min >=", value, "cMin");
            return (Criteria) this;
        }

        public Criteria andCMinLessThan(Integer value) {
            addCriterion("c_min <", value, "cMin");
            return (Criteria) this;
        }

        public Criteria andCMinLessThanOrEqualTo(Integer value) {
            addCriterion("c_min <=", value, "cMin");
            return (Criteria) this;
        }

        public Criteria andCMinIn(List<Integer> values) {
            addCriterion("c_min in", values, "cMin");
            return (Criteria) this;
        }

        public Criteria andCMinNotIn(List<Integer> values) {
            addCriterion("c_min not in", values, "cMin");
            return (Criteria) this;
        }

        public Criteria andCMinBetween(Integer value1, Integer value2) {
            addCriterion("c_min between", value1, value2, "cMin");
            return (Criteria) this;
        }

        public Criteria andCMinNotBetween(Integer value1, Integer value2) {
            addCriterion("c_min not between", value1, value2, "cMin");
            return (Criteria) this;
        }

        public Criteria andCLimitIsNull() {
            addCriterion("c_limit is null");
            return (Criteria) this;
        }

        public Criteria andCLimitIsNotNull() {
            addCriterion("c_limit is not null");
            return (Criteria) this;
        }

        public Criteria andCLimitEqualTo(Byte value) {
            addCriterion("c_limit =", value, "cLimit");
            return (Criteria) this;
        }

        public Criteria andCLimitNotEqualTo(Byte value) {
            addCriterion("c_limit <>", value, "cLimit");
            return (Criteria) this;
        }

        public Criteria andCLimitGreaterThan(Byte value) {
            addCriterion("c_limit >", value, "cLimit");
            return (Criteria) this;
        }

        public Criteria andCLimitGreaterThanOrEqualTo(Byte value) {
            addCriterion("c_limit >=", value, "cLimit");
            return (Criteria) this;
        }

        public Criteria andCLimitLessThan(Byte value) {
            addCriterion("c_limit <", value, "cLimit");
            return (Criteria) this;
        }

        public Criteria andCLimitLessThanOrEqualTo(Byte value) {
            addCriterion("c_limit <=", value, "cLimit");
            return (Criteria) this;
        }

        public Criteria andCLimitIn(List<Byte> values) {
            addCriterion("c_limit in", values, "cLimit");
            return (Criteria) this;
        }

        public Criteria andCLimitNotIn(List<Byte> values) {
            addCriterion("c_limit not in", values, "cLimit");
            return (Criteria) this;
        }

        public Criteria andCLimitBetween(Byte value1, Byte value2) {
            addCriterion("c_limit between", value1, value2, "cLimit");
            return (Criteria) this;
        }

        public Criteria andCLimitNotBetween(Byte value1, Byte value2) {
            addCriterion("c_limit not between", value1, value2, "cLimit");
            return (Criteria) this;
        }

        public Criteria andCTypeIsNull() {
            addCriterion("c_type is null");
            return (Criteria) this;
        }

        public Criteria andCTypeIsNotNull() {
            addCriterion("c_type is not null");
            return (Criteria) this;
        }

        public Criteria andCTypeEqualTo(Byte value) {
            addCriterion("c_type =", value, "cType");
            return (Criteria) this;
        }

        public Criteria andCTypeNotEqualTo(Byte value) {
            addCriterion("c_type <>", value, "cType");
            return (Criteria) this;
        }

        public Criteria andCTypeGreaterThan(Byte value) {
            addCriterion("c_type >", value, "cType");
            return (Criteria) this;
        }

        public Criteria andCTypeGreaterThanOrEqualTo(Byte value) {
            addCriterion("c_type >=", value, "cType");
            return (Criteria) this;
        }

        public Criteria andCTypeLessThan(Byte value) {
            addCriterion("c_type <", value, "cType");
            return (Criteria) this;
        }

        public Criteria andCTypeLessThanOrEqualTo(Byte value) {
            addCriterion("c_type <=", value, "cType");
            return (Criteria) this;
        }

        public Criteria andCTypeIn(List<Byte> values) {
            addCriterion("c_type in", values, "cType");
            return (Criteria) this;
        }

        public Criteria andCTypeNotIn(List<Byte> values) {
            addCriterion("c_type not in", values, "cType");
            return (Criteria) this;
        }

        public Criteria andCTypeBetween(Byte value1, Byte value2) {
            addCriterion("c_type between", value1, value2, "cType");
            return (Criteria) this;
        }

        public Criteria andCTypeNotBetween(Byte value1, Byte value2) {
            addCriterion("c_type not between", value1, value2, "cType");
            return (Criteria) this;
        }

        public Criteria andCStatusIsNull() {
            addCriterion("c_status is null");
            return (Criteria) this;
        }

        public Criteria andCStatusIsNotNull() {
            addCriterion("c_status is not null");
            return (Criteria) this;
        }

        public Criteria andCStatusEqualTo(Byte value) {
            addCriterion("c_status =", value, "cStatus");
            return (Criteria) this;
        }

        public Criteria andCStatusNotEqualTo(Byte value) {
            addCriterion("c_status <>", value, "cStatus");
            return (Criteria) this;
        }

        public Criteria andCStatusGreaterThan(Byte value) {
            addCriterion("c_status >", value, "cStatus");
            return (Criteria) this;
        }

        public Criteria andCStatusGreaterThanOrEqualTo(Byte value) {
            addCriterion("c_status >=", value, "cStatus");
            return (Criteria) this;
        }

        public Criteria andCStatusLessThan(Byte value) {
            addCriterion("c_status <", value, "cStatus");
            return (Criteria) this;
        }

        public Criteria andCStatusLessThanOrEqualTo(Byte value) {
            addCriterion("c_status <=", value, "cStatus");
            return (Criteria) this;
        }

        public Criteria andCStatusIn(List<Byte> values) {
            addCriterion("c_status in", values, "cStatus");
            return (Criteria) this;
        }

        public Criteria andCStatusNotIn(List<Byte> values) {
            addCriterion("c_status not in", values, "cStatus");
            return (Criteria) this;
        }

        public Criteria andCStatusBetween(Byte value1, Byte value2) {
            addCriterion("c_status between", value1, value2, "cStatus");
            return (Criteria) this;
        }

        public Criteria andCStatusNotBetween(Byte value1, Byte value2) {
            addCriterion("c_status not between", value1, value2, "cStatus");
            return (Criteria) this;
        }

        public Criteria andCStartTimeIsNull() {
            addCriterion("c_start_time is null");
            return (Criteria) this;
        }

        public Criteria andCStartTimeIsNotNull() {
            addCriterion("c_start_time is not null");
            return (Criteria) this;
        }

        public Criteria andCStartTimeEqualTo(Date value) {
            addCriterion("c_start_time =", value, "cStartTime");
            return (Criteria) this;
        }

        public Criteria andCStartTimeNotEqualTo(Date value) {
            addCriterion("c_start_time <>", value, "cStartTime");
            return (Criteria) this;
        }

        public Criteria andCStartTimeGreaterThan(Date value) {
            addCriterion("c_start_time >", value, "cStartTime");
            return (Criteria) this;
        }

        public Criteria andCStartTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("c_start_time >=", value, "cStartTime");
            return (Criteria) this;
        }

        public Criteria andCStartTimeLessThan(Date value) {
            addCriterion("c_start_time <", value, "cStartTime");
            return (Criteria) this;
        }

        public Criteria andCStartTimeLessThanOrEqualTo(Date value) {
            addCriterion("c_start_time <=", value, "cStartTime");
            return (Criteria) this;
        }

        public Criteria andCStartTimeIn(List<Date> values) {
            addCriterion("c_start_time in", values, "cStartTime");
            return (Criteria) this;
        }

        public Criteria andCStartTimeNotIn(List<Date> values) {
            addCriterion("c_start_time not in", values, "cStartTime");
            return (Criteria) this;
        }

        public Criteria andCStartTimeBetween(Date value1, Date value2) {
            addCriterion("c_start_time between", value1, value2, "cStartTime");
            return (Criteria) this;
        }

        public Criteria andCStartTimeNotBetween(Date value1, Date value2) {
            addCriterion("c_start_time not between", value1, value2, "cStartTime");
            return (Criteria) this;
        }

        public Criteria andCEndTimeIsNull() {
            addCriterion("c_end_time is null");
            return (Criteria) this;
        }

        public Criteria andCEndTimeIsNotNull() {
            addCriterion("c_end_time is not null");
            return (Criteria) this;
        }

        public Criteria andCEndTimeEqualTo(Date value) {
            addCriterion("c_end_time =", value, "cEndTime");
            return (Criteria) this;
        }

        public Criteria andCEndTimeNotEqualTo(Date value) {
            addCriterion("c_end_time <>", value, "cEndTime");
            return (Criteria) this;
        }

        public Criteria andCEndTimeGreaterThan(Date value) {
            addCriterion("c_end_time >", value, "cEndTime");
            return (Criteria) this;
        }

        public Criteria andCEndTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("c_end_time >=", value, "cEndTime");
            return (Criteria) this;
        }

        public Criteria andCEndTimeLessThan(Date value) {
            addCriterion("c_end_time <", value, "cEndTime");
            return (Criteria) this;
        }

        public Criteria andCEndTimeLessThanOrEqualTo(Date value) {
            addCriterion("c_end_time <=", value, "cEndTime");
            return (Criteria) this;
        }

        public Criteria andCEndTimeIn(List<Date> values) {
            addCriterion("c_end_time in", values, "cEndTime");
            return (Criteria) this;
        }

        public Criteria andCEndTimeNotIn(List<Date> values) {
            addCriterion("c_end_time not in", values, "cEndTime");
            return (Criteria) this;
        }

        public Criteria andCEndTimeBetween(Date value1, Date value2) {
            addCriterion("c_end_time between", value1, value2, "cEndTime");
            return (Criteria) this;
        }

        public Criteria andCEndTimeNotBetween(Date value1, Date value2) {
            addCriterion("c_end_time not between", value1, value2, "cEndTime");
            return (Criteria) this;
        }

        public Criteria andCCreateTimeIsNull() {
            addCriterion("c_create_time is null");
            return (Criteria) this;
        }

        public Criteria andCCreateTimeIsNotNull() {
            addCriterion("c_create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCCreateTimeEqualTo(Date value) {
            addCriterion("c_create_time =", value, "cCreateTime");
            return (Criteria) this;
        }

        public Criteria andCCreateTimeNotEqualTo(Date value) {
            addCriterion("c_create_time <>", value, "cCreateTime");
            return (Criteria) this;
        }

        public Criteria andCCreateTimeGreaterThan(Date value) {
            addCriterion("c_create_time >", value, "cCreateTime");
            return (Criteria) this;
        }

        public Criteria andCCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("c_create_time >=", value, "cCreateTime");
            return (Criteria) this;
        }

        public Criteria andCCreateTimeLessThan(Date value) {
            addCriterion("c_create_time <", value, "cCreateTime");
            return (Criteria) this;
        }

        public Criteria andCCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("c_create_time <=", value, "cCreateTime");
            return (Criteria) this;
        }

        public Criteria andCCreateTimeIn(List<Date> values) {
            addCriterion("c_create_time in", values, "cCreateTime");
            return (Criteria) this;
        }

        public Criteria andCCreateTimeNotIn(List<Date> values) {
            addCriterion("c_create_time not in", values, "cCreateTime");
            return (Criteria) this;
        }

        public Criteria andCCreateTimeBetween(Date value1, Date value2) {
            addCriterion("c_create_time between", value1, value2, "cCreateTime");
            return (Criteria) this;
        }

        public Criteria andCCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("c_create_time not between", value1, value2, "cCreateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("update_time is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("update_time is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("update_time =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("update_time <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("update_time >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("update_time >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("update_time <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("update_time <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("update_time in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("update_time not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("update_time between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("update_time not between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andIsDeletedIsNull() {
            addCriterion("is_deleted is null");
            return (Criteria) this;
        }

        public Criteria andIsDeletedIsNotNull() {
            addCriterion("is_deleted is not null");
            return (Criteria) this;
        }

        public Criteria andIsDeletedEqualTo(Byte value) {
            addCriterion("is_deleted =", value, "isDeleted");
            return (Criteria) this;
        }

        public Criteria andIsDeletedNotEqualTo(Byte value) {
            addCriterion("is_deleted <>", value, "isDeleted");
            return (Criteria) this;
        }

        public Criteria andIsDeletedGreaterThan(Byte value) {
            addCriterion("is_deleted >", value, "isDeleted");
            return (Criteria) this;
        }

        public Criteria andIsDeletedGreaterThanOrEqualTo(Byte value) {
            addCriterion("is_deleted >=", value, "isDeleted");
            return (Criteria) this;
        }

        public Criteria andIsDeletedLessThan(Byte value) {
            addCriterion("is_deleted <", value, "isDeleted");
            return (Criteria) this;
        }

        public Criteria andIsDeletedLessThanOrEqualTo(Byte value) {
            addCriterion("is_deleted <=", value, "isDeleted");
            return (Criteria) this;
        }

        public Criteria andIsDeletedIn(List<Byte> values) {
            addCriterion("is_deleted in", values, "isDeleted");
            return (Criteria) this;
        }

        public Criteria andIsDeletedNotIn(List<Byte> values) {
            addCriterion("is_deleted not in", values, "isDeleted");
            return (Criteria) this;
        }

        public Criteria andIsDeletedBetween(Byte value1, Byte value2) {
            addCriterion("is_deleted between", value1, value2, "isDeleted");
            return (Criteria) this;
        }

        public Criteria andIsDeletedNotBetween(Byte value1, Byte value2) {
            addCriterion("is_deleted not between", value1, value2, "isDeleted");
            return (Criteria) this;
        }

        public Criteria andPlIdIsNull() {
            addCriterion("pl_id is null");
            return (Criteria) this;
        }

        public Criteria andPlIdIsNotNull() {
            addCriterion("pl_id is not null");
            return (Criteria) this;
        }

        public Criteria andPlIdEqualTo(Integer value) {
            addCriterion("pl_id =", value, "plId");
            return (Criteria) this;
        }

        public Criteria andPlIdNotEqualTo(Integer value) {
            addCriterion("pl_id <>", value, "plId");
            return (Criteria) this;
        }

        public Criteria andPlIdGreaterThan(Integer value) {
            addCriterion("pl_id >", value, "plId");
            return (Criteria) this;
        }

        public Criteria andPlIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("pl_id >=", value, "plId");
            return (Criteria) this;
        }

        public Criteria andPlIdLessThan(Integer value) {
            addCriterion("pl_id <", value, "plId");
            return (Criteria) this;
        }

        public Criteria andPlIdLessThanOrEqualTo(Integer value) {
            addCriterion("pl_id <=", value, "plId");
            return (Criteria) this;
        }

        public Criteria andPlIdIn(List<Integer> values) {
            addCriterion("pl_id in", values, "plId");
            return (Criteria) this;
        }

        public Criteria andPlIdNotIn(List<Integer> values) {
            addCriterion("pl_id not in", values, "plId");
            return (Criteria) this;
        }

        public Criteria andPlIdBetween(Integer value1, Integer value2) {
            addCriterion("pl_id between", value1, value2, "plId");
            return (Criteria) this;
        }

        public Criteria andPlIdNotBetween(Integer value1, Integer value2) {
            addCriterion("pl_id not between", value1, value2, "plId");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}